feat(provider): models.dev auto-bootstrap with fingerprint cache#473
Open
quangdang46 wants to merge 5 commits into
Open
feat(provider): models.dev auto-bootstrap with fingerprint cache#473quangdang46 wants to merge 5 commits into
quangdang46 wants to merge 5 commits into
Conversation
Add consolidated PR backlog from 13 reference repos (A-J, ~80 features) and supporting docs (MASTER_GOAL_PROMPT, GOAL_DRIVEN_PROMPT, CONSOLIDATED_FINDINGS).
Adds core InbandScanner trait, event types, and 3 fully-implemented dialects (Hermes JSON-tag, Kimi token-delimited, Gemini Python-fence) with 12 passing tests. 9 remaining dialects fall back to Hermes scanner. Refs: docs/pr-plans/A6-inband-dialects.md
Adds model-family-aware prompt resolution so the system prompt is tuned to the active model's instruction-following profile. - PromptVariant enum with Claude/Gpt/Gemini/Default variants - resolve_prompt_variant(model_id) prefix-based resolution - system_prompt_for_model(model_id) convenience function - Per-model markdown files: system_prompt_claude.md, system_prompt_gpt.md, system_prompt_gemini.md - Wired into prompting.rs via model_id parameter - Wired into both build_system_prompt_full and build_system_prompt_split Refs: docs/pr-plans/C3-prompt-variants.md
- Add 'pub mod models_dev' to lib.rs so the new module is compiled - Replace rand::random() with SystemTime::as_nanos() for temp file nonces, avoiding a new Cargo dependency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements A18 — Models.dev auto-bootstrap with cache + fingerprint.
What's Included
Verification
Refs: docs/pr-plans/A18-models-dev-bootstrap.md